<div class="container">
  <section>
    <h2 class="clearfix">
      人员列表
    </h2>
    <div class="table-responsive">
      <table class="table table-striped">
        <thead>
        <tr>
          <th>编号</th>
          <th>姓名</th>
          <th>部门</th>
          <th>电话</th>
          <th>职位</th>
          <th>入职时间</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="user in users">
          <td>{{($index+1)}}</td>
          <td>{{user.name}}</td>
          <td>{{user.department.name}}</td>
          <td>{{user.phone}}</td>
          <td>{{user.role}}</td>
          <td>{{user.registed_at | date: 'yyyy/MM/dd'}}</td>
        </tr>
        </tbody>
      </table>
    </div>

  </section>
</div>
